package com.murray.assignment.service;

import com.murray.assignment.pojo.Cart;
import com.murray.assignment.pojo.CartInfo;

public interface CartService {

    Integer addGoodsToCart(CartInfo cartInfo);

    Integer updateCartInfo(CartInfo cartInfo);

    Integer insertCartInfo(CartInfo cartInfo);

    Integer returnGoodsNums(Integer cartId);

    Cart selectCartDetails(Integer cartId);

    Integer deleteGoodsFromCart(CartInfo cartInfo);
}